Skip to content

PYTHON-4572 - Fix type errors caused by new PyOpenSSL type hints #1743

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jul 23, 2024

Conversation

NoahStapp
Copy link
Contributor

No description provided.

cert_store.add_cert(
_crypto.X509.from_cryptography(x509.load_der_x509_certificate(cert))
)
if cert_store is not None:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

alternatively we could do this avoid avoid a large code change:

assert cert_store, '...'

@NoahStapp NoahStapp merged commit 0f5349e into mongodb:master Jul 23, 2024
23 of 24 checks passed
@NoahStapp NoahStapp deleted the PYTHON-4572 branch July 23, 2024 20:41
blink1073 pushed a commit to blink1073/mongo-python-driver that referenced this pull request Jul 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants